package com.shuhe.domain.mxgc;

import java.util.ArrayList;

public class SqlSjjrRequestBody {
    private String sql;
    private String operateType;
    private String tableName;
    private String tableComment;
    private String userName;
    private String password;
    private String dbName;

    //数据源管理
    private String dataSourceName;
    private String ip;
    private String sourcePort;
    private String userNameSource;
    private String id;

    //数据接入任务
    private String taskName;
    private String taskStatus;
    private String runCron;
    private String cronType;
    private String timeAddColumn;
    private String timeColumnFormat;
    private String startTime;
    private String newTime;

    //数据接入任务管理
    private String taskId;


    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getNewTime() {
        return newTime;
    }

    public void setNewTime(String newTime) {
        this.newTime = newTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getTimeColumnFormat() {
        return timeColumnFormat;
    }

    public void setTimeColumnFormat(String timeColumnFormat) {
        this.timeColumnFormat = timeColumnFormat;
    }

    public String getTimeAddColumn() {
        return timeAddColumn;
    }

    public void setTimeAddColumn(String timeAddColumn) {
        this.timeAddColumn = timeAddColumn;
    }

    public String getCronType() {
        return cronType;
    }

    public void setCronType(String cronType) {
        this.cronType = cronType;
    }

    public String getRunCron() {
        return runCron;
    }

    public void setRunCron(String runCron) {
        this.runCron = runCron;
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserNameSource() {
        return userNameSource;
    }

    public void setUserNameSource(String userNameSource) {
        this.userNameSource = userNameSource;
    }

    public String getSourcePort() {
        return sourcePort;
    }

    public void setSourcePort(String sourcePort) {
        this.sourcePort = sourcePort;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getDataSourceName() {
        return dataSourceName;
    }

    public void setDataSourceName(String dataSourceName) {
        this.dataSourceName = dataSourceName;
    }


    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    //数据库类型 db mining
    private String dbType;

    public String getDbType() {
        return dbType;
    }

    public void setDbType(String dbType) {
        this.dbType = dbType;
    }


    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public String getTableComment() {
        return tableComment;
    }

    public void setTableComment(String tableComment) {
        this.tableComment = tableComment;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOperateType() {
        return operateType;
    }

    public void setOperateType(String operateType) {
        this.operateType = operateType;
    }


    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public static void main(String[] args) {
        String str = "{\n" +
                "  \"layout\": \"side\",\n" +
                "  \"navTheme\": \"light\",\n" +
                "  \"contentWidth\": \"Fluid\",\n" +
                "  \"fixSiderbar\": true,\n" +
                "  \"colorPrimary\": \"#1677FF\",\n" +
                "  \"siderMenuType\": \"sub\"\r" +
                "}";
        System.out.println(str.replaceAll("\\\\n", "").replaceAll("\\\\r", ""));

    }
}
